package com.example.springboot.demo3;

import lombok.Data;

/*@Setter
@Getter
@ToString*/
@Data
public class Student {
    private String name="hewenhui";
    private String id="219074008";
    private int age=20;

    public static void main(String[] args) {
        Student student = new Student();
        student.setAge(20);
        student.setId("123");
        student.setName("hewenhui");
        System.out.println(student.getAge());
        System.out.println(student.toString());
    }
}
